import axios from '@/api/axios.js'

// 获取该页面所有数据

export function getChannel(data) {
    return axios({
        url: '/goods/category',
        method: 'get',
        params: data
    })
}


// 每个选中项的数据
export function getPart(data) {
    return axios({
        url: '/goods/list',
        method: 'get',
        params: data
    })
}